#include "StdAfx.h"
#include "ToolSeparatorUI.h"
#include "BlueRenderEngineUI.h"

CToolSeparatorUI::CToolSeparatorUI(void)
{
}

CToolSeparatorUI::~CToolSeparatorUI(void)
{
}

LPCTSTR CToolSeparatorUI::GetClass() const
{
	return _T("ToolSeparatorUI");
}

SIZE CToolSeparatorUI::EstimateSize(SIZE /*szAvailable*/)
{
	return CStdSize(4, 0);
}

void CToolSeparatorUI::DoPaint(HDC hDC, const RECT& rcPaint)
{
	RECT rc1 = { m_rcItem.left + 1, m_rcItem.top + 2, m_rcItem.left + 1, m_rcItem.bottom - 3 };
	CBlueRenderEngineUI::DoPaintLine(hDC, m_pManager, rc1, UICOLOR_TITLE_BORDER_DARK);
	RECT rc2 = { m_rcItem.left + 2, m_rcItem.top + 2, m_rcItem.left + 2, m_rcItem.bottom - 3 };
	CBlueRenderEngineUI::DoPaintLine(hDC, m_pManager, rc2, UICOLOR_TITLE_BORDER_LIGHT);
}
